<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
    <title>E&nbsp;&nbsp;&nbsp;智造</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>
    <link rel="stylesheet" href="{$smarty.const.HOME_JS_URL}/swiper/css/swiper.css">
    <link href="{$smarty.const.HOME_CSS_URL}/CSS.css" rel="stylesheet" type="text/css">

    <script src="{$smarty.const.HOME_JS_URL}/jquery.js"></script>
    <script src="{$smarty.const.HOME_JS_URL}/iscroll.js"></script>
    <script src="{$smarty.const.HOME_JS_URL}/js.js" type="text/javascript"></script>
    <script src="{$smarty.const.HOME_JS_URL}/swiper/js/swiper.jquery.js"></script>
    <script src="{$smarty.const.HOME_JS_URL}/jquery-lazyload/jquery.lazyload.js"></script>
    <style>
        .swiper-container-horizontal>.swiper-pagination-bullets, .swiper-pagination-custom, .swiper-pagination-fraction{
            padding-right: 15px;
            bottom:3px;
            text-align: right;
        }
        .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{
            margin: 0 3px;
        }
        .swiper-slide {
            text-align: center;
            font-size: 18px;
            background: #fff;
            /* Center slide text vertically */
            display: -webkit-box;
            display: -ms-flexbox;
            display: -webkit-flex;
            display: flex;
            -webkit-box-pack: center;
            -ms-flex-pack: center;
            -webkit-justify-content: center;
            justify-content: center;
            -webkit-box-align: center;
            -ms-flex-align: center;
            -webkit-align-items: center;
            align-items: center;
        }
    </style>

    <script type="text/javascript">
        window.onload=function(){
            j=1;
            var winH = $(window).height();//页面可是区域
            $(window).scroll(function(){
                var pageH = $(document.body).height();
                var scrollT = $(window).scrollTop();//滚动条top
                var aa = (pageH - winH - scrollT)/winH;
                if(aa<0.02){

                    getIndexData(j,'index');
                }
            })
            
        }
    </script>

</head>

<body class="body_box">

<!--搜索-->
<div class="search_box" id="search_box">
    

    <div class="menu_select" tabindex="1" >
        <div class="select1" tabindex="1">
            <span id="sel" class="show_info" value="信息">信息</span>
            <span><img src="{$smarty.const.HOME_IMG_URL}/folding_menu.png"></span>
        </div>
        <div class="drop_select1_menu" id="drop_down_select1_id" tabindex="1" >
            <ul>
                <li onClick="listMenu1(1,'信息')">信息</li>
                <li onClick="listMenu1(2,'用户')">用户</li>
            </ul>
        </div>
    </div>


    <div class="search">
        <form action="{$smarty.const.__APP__}/Goods/msg_search" method="get">
            <input type="hidden" value="1" id="search_option" name="search_option">
            <input type="search" name="search" id="searchbar" placeholder="输入关键字搜索信息"/>
        </form>
    </div>
    <div class="personal_box">
        <a href="{$smarty.const.__MODULE__}/User/user_page"><img src="{$smarty.const.HOME_IMG_URL}/tab_item_me_nor.png"></a>
    </div>
    <div class="clearfix"></div>
</div>

<!--导航栏-->
<div class="nav_box">
    <div id="alldiv" onClick="guanall()" ontuch="guanall()">&nbsp;</div>
    <div class="topalldiv" id="t12">
        <!-- menu begin-->
        <div class="topmenu">
            <div class="t1">
                <div class="tz" id="tz1" onClick="divshow1()">
                    <div class="lbox">&nbsp;</div>
                    <div class="mbox"><span id="tzi1">热门</span></div>
                    <div class="rbox" onClick="divshow1()"><span id="xia1"><img
                            src={$smarty.const.HOME_IMG_URL}/prom_more_down.png></span></div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id=xiadiv1>
    <div class="quandiv" id="jiaxuan">
        <div class="menu_list_title1">切换模块</div>
        <ul>
            <li id="more_select1" onClick="jiaxuan('10')">热门</li>
            <li id="more_select2" onClick="jiaxuan('1')">智造中心</li>
            <li id="more_select3" onClick="jiaxuan('2')">产品设计</li>
            <li id="more_select4" onClick="jiaxuan('4')">检测认证</li>
            <li id="more_select5" onClick="jiaxuan('5')">产品中试</li>
            <li id="more_select6" onClick="jiaxuan('6')">推广营销</li>
            <li id="more_select7" onClick="jiaxuan('3')">技术研发</li>
            <li id="more_select8" onClick="jiaxuan('7')">协同服务</li>
            <li id="more_select9" onClick="jiaxuan('8')">其他</li>
            <div class="clearfix"></div>
        </ul>
    </div>
    <div class="quandiv" id="jiaxuan1">
        <div class="menu_list_title1">筛选条件</div>
        <ul>
            <li id="all" onClick="jiaxuan1('all')">全部</li>
            <li id="need" onClick="jiaxuan1('need')">需求</li>
            <li id="serve" onClick="jiaxuan1('serve')">服务</li>
            <div class="clearfix"></div>
        </ul>
    </div>
    <div class="button_0k" onClick="guan1()">确定</div>
</div>


<div id="content_all">
    <!--banner -->
    <div class="banner_box">
        <div class="banner">
            <div class="main_pic">
                <div class="swiper-container">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide"><img src="{$smarty.const.HOME_IMG_URL}/banner2_01.jpg" alt=""></div>
                        <div class="swiper-slide"><img src="{$smarty.const.HOME_IMG_URL}/banner2_02.jpg" alt=""></div>
                        <div class="swiper-slide"><img src="{$smarty.const.HOME_IMG_URL}/banner2_03.jpg" alt=""></div>
                        <div class="swiper-slide"><img src="{$smarty.const.HOME_IMG_URL}/banner2_04.jpg" alt=""></div>
                    </div>
                    <div class="swiper-pagination"></div>
                </div>
                <div class="clearfix"></div>
            </div>
        </div>
    </div>

    <!-- 内容区 -->
    <div class="content_box">
        {foreach $info as $k => $v}
        <div class="content">
            <a href="{$smarty.const.__MODULE__}/Goods/{$v.user_judge}_detail/id/{$v.id}">
                <div class="content_photo">
                    <img src="{$v.goods_photo|default:'/zgc/Public/images/default01.png'}">
                </div>
                <div class="content_text ">
                    <h1>{$v.goods_title}</h1>
                    <span class="budget_price">预算：{$v.price}元</span>
                    <span class="{$v.user_judge}_icon">{$v.category_name}</span>
                    <span class="browse_num">{$v.browse_num}人浏览</span>
                </div>
                <div class="clearfix"></div>
            </a>
        </div>
        {/foreach}


        
    </div>
    <div class="load_more"></div>
    <!--发布需求--->
    <div class="menu_box">
        <div class="menu" id="menu1">发布
            <div class="option"><a href="{$smarty.const.__MODULE__}/Goods/need_publish.html">需求</a></div>
            <div class="option"><a href="{$smarty.const.__MODULE__}/Goods/serve_publish.html">服务</a></div>
        </div>
    </div>
</div>
<script>
    var swiper = new Swiper('.swiper-container',{
        agination: '.swiper-pagination',
        paginationClickable: true,
        autoplay:3000,
        loop: true,
    });
    $("img").lazyload();
</script>
</body>
</html>

